Conditions | 2 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import { BEditaApiClient, ApiClientConfig } from './bedita-api-client'; |
||
48 | |||
49 | /** |
||
50 | * Remove an API client istance from the registry. |
||
51 | * |
||
52 | * @param name The name to look for in the registry |
||
53 | */ |
||
54 | public static remove(name: string): void { |
||
55 | if (!this.#registry[name]) { |
||
56 | return; |
||
57 | } |
||
58 | |||
59 | delete this.#registry[name]; |
||
60 | } |
||
62 |